package a1.helloworld;

import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.xml.XmlBeanFactory;
import org.springframework.core.io.FileSystemResource;

public class HelloWorldTest {

	public static void main(String[] args) {
		BeanFactory factory = new XmlBeanFactory(
				new FileSystemResource(
						"C:/Users/Bobby/workspace/MySpringProject/WebContent/xml/a1.helloworld.xml"));
		HelloWorld hello = (HelloWorld) factory.getBean("greetings");
		hello.greet();
      
	}

}

